package model

import "gorm.io/gorm"

type Hema struct {
	gorm.Model
	Name    string  `gorm:"type:varchar(50); not null;"`
	Price   float64 `gorm:"type:decimal(10,2); not null;"`
	Img     string  `gorm:"type:varchar(500); not null;"`
	ClassId int64   `gorm:"type:int(11); not null;"`
}
type Class struct {
	gorm.Model
	Name string `gorm:"type:varchar(50); not null;"`
}
